#include <iostream>
using namespace std;
class Person{
    public:
        Person(int value)
        :value(value)
        {
            cout<<"Person"<<endl;
        }
        ~Person(){
            cout<<"~Person"<<endl;
        }
    private:
        int value;

};
void test(){
    allocator<Person> alloc;
    Person* ptr=alloc.allocate(1);
    alloc.construct(ptr,42);
    alloc.destroy(ptr);
    alloc.deallocate(ptr,1);
}
int main(int argc, char * argv[]){
    test();
    return 0;
}

